package com.milotnt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.milotnt.pojo.CommunityPostEntity;
import com.milotnt.vo.CommunityPostVo;

import java.util.List;

public interface CommunityPostMapper extends BaseMapper<CommunityPostEntity> {

    Boolean insertPost(CommunityPostEntity post);

    List<CommunityPostVo> getAllPosts();
}
